
<!DOCTYPE html>
<html>
<head>
            <meta charset="UTF-8">
<title>文档设置 - {$Detail.name} · 看云</title>
    <meta name="description"
          content="看云专注于文档的在线创作、协作、分享和托管服务，致力于提供最佳的在线创作和阅读体验，让企业和个人可以更方便地发布和管理自己的文档。"/>
    <meta name="keywords"
          content="文档托管,在线创作,文档在线管理,在线知识管理,文档托管平台,在线写书,文档在线转换,在线编辑,在线阅读,开发手册,api手册,文档在线学习,技术文档在线阅读,在线文档编辑"/>
    <meta name="viewport"
          content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <link rel="stylesheet" href="https://static.kancloud.cn/asset/app.css?version=93d9494723568e63bbef"/>
    </head>
<body class="pushable">
                <div class="ui vertical sidebar menu right" data-attach='[data-selector="sidebar toc"]'>
            <form action="/search">
                <div class="item">
                    <div class="ui icon input">
                        <input name="q" type="text" placeholder="搜索看云..."/>
                        <i class="search icon"></i>
                    </div>
                </div>
            </form>
            <a class="item" href="/explore">广场</a>
            <a class="item" href="/app">客户端</a>
            <a class="item" href="https://help.kancloud.cn">帮助</a>
                                                <a class="item" href="/@pdosgk">
                        个人主页
                    </a>
                                <a class="item" href="/@pdosgk?tab=attention">
                    我的关注
                </a>
                <a class="item" href="/@pdosgk?tab=purchase">
                    已购文档
                </a>
                <a class="item" href="/setting">
                    账号设置
                </a>
                <a class="item" href="/auth/logout">
                    退出看云
                </a>
                    </div>
        <div class="pusher">
                    <div class="ui green secondary vertical pointing fixed menu w-sidebar">
                    <a href="/pdosgk/{$Detail.name}" class="item header text truncate">
        <img class="ui image bordered avatar" src="https://cover.kancloud.cn/pdosgk/{$Detail.name}!middle"/>
        {$Detail.name}
    </a>
    <a class="item "
       href="/book/pdosgk/{$Detail.name}/dashboard">文档概要</a>
    <a class="item " href="/book/pdosgk/{$Detail.name}/release">发布管理</a>
    <a class="item "
       href="/book/pdosgk/{$Detail.name}/member">文档成员</a>
            <a class="item "
           href="/book/pdosgk/{$Detail.name}/traffic">文档统计</a>
                    <a class="item "
           href="/book/pdosgk/{$Detail.name}/price">文档定价</a>
                            <a class="item "
               href="/book/pdosgk/{$Detail.name}/domain">绑定域名</a>
                <a class="item "
           href="/book/pdosgk/{$Detail.name}/hook">文档钩子</a>
        <a class="item active"
           href="/book/pdosgk/{$Detail.name}/setting">文档设置</a>
                </div>
        
        <div class="w-page ">
            <div class="page-head">
                                    <div class="ui menu small secondary fixed">

    <a class="logo item" href="/"></a>
    <a class="item" href="/explore">广场</a>
    <a class="item" href="/app">客户端</a>
    <a class="item" href="https://help.kancloud.cn">帮助</a>

    <div class="right menu ">
        <a class="toc item" data-selector="sidebar toc">
            <i class="ellipsis vertical icon"></i>
        </a>
                    <form action="/search">
                <div class="item">
                    <div class="ui icon input">
                        <input name="q" type="text" placeholder="搜索看云..."/>
                        <i class="search icon"></i>
                    </div>
                </div>
            </form>
                                            <a class="item icon" href="/dashboard">
                    <i class="book icon"></i>
                </a>
                        <a class="item icon" href="/notification">
                <i class="alarm icon"></i>
                            </a>
            <div class="ui dropdown item pointing top right icon">
                <i class="add icon"></i>
                <i class="dropdown icon"></i>
                                    <div class="menu">
                        <a class="item" href="/new">
                            创建文档
                        </a>
                        <a class="item" href="/team/new">
                            创建团队
                        </a>
                        <a class="item" href="/enterprise/new">
                            创建企业
                        </a>
                    </div>
                            </div>
                        <div class="ui dropdown item pointing top right">
                <img class="ui avatar bordered image" src="https://avatar.kancloud.cn/27/57582ac7c615d056001e45fae44aab!middle"/>
                                <i class="dropdown icon"></i>
                <div class="menu" data-display="block">
                    <div class="header">当前用户： ˋ:水木常</div>
                    <div class="ui divider"></div>
                                            <a class="item" href="/@pdosgk">
                            个人主页
                        </a>
                                        <a class="item" href="/@pdosgk?tab=attention">
                        我的关注
                    </a>
                    <a class="item" href="/@pdosgk?tab=purchase">
                        已购文档
                    </a>
                    <a class="item" href="/setting">
                        账号设置
                    </a>
                                                            <div class="ui divider"></div>
                    <a class="item" href="/auth/logout">
                                                    退出看云
                                            </a>
                </div>
            </div>
            </div>
</div>                            </div>

            <div class="page-body">
                                                                                <div class="ui nags">
                                                    </div>
                                                                        <div class="w-breadcrumb">
                        <div class="ui container">
                            <a class="toc">
                                <i class="align justify icon"></i>
                            </a>
                                <div class="ui huge breadcrumb">
        文档设置
    </div>
    <a href="/new?derive=pdosgk/{$Detail.name}" target="_blank" class="ui right floated button small">
        派生文档
    </a>
                        </div>
                    </div>
                                    <div class="ui container">
            <div class="ui segments">
        <div class="ui segment">
            <h4>基础设置</h4>
        </div>
        <div class="ui segment">
            <form class="ui form" data-action="update book" data-namespace="pdosgk"
                  data-name="{$Detail.name}" method="post">
                <div class="ui message error"></div>
                <div class="ui success message">
                    <div class="header"><i class="icon check circle outline"></i>修改成功</div>
                </div>
                <div class="field required">
                    <label>文档名称</label>
                    <input type="text" name="title" value="{$Detail.title}"/>
                </div>
                <div class="field">
                    <label>文档描述</label>
                    <textarea name="description" rows="4">{$Detail.description}</textarea>
                </div>
                <div class="field">
                    <label>文档标签</label>
                    <div data-selector="tags" data-not-init class="ui fluid multiple search selection dropdown">
                        <input name="tags" value="{$Detail.tags}" type="hidden"/>
                        <i class="dropdown icon"></i>
                        <div class="default text">输入标签名称后，使用"回车"完成输入</div>
                        <div class="menu"></div>
                    </div>
                    <p class="help-block">最多允许添加10个标签，标签可以使你的文档更容易被检索到</p>
                </div>
                <div class="field">
                    <button class="ui button primary">保存</button>
                </div>
            </form>
        </div>
    </div>
    <div class="ui segments">
        <div class="ui segment">
            <h4>功能设置</h4>
        </div>
        <div class="ui segment">
            <div class="ui form">
                <div class="field">
                    <div class="ui toggle small checkbox" data-selector="auto_release">
                        <input type="checkbox"  <eq name="Detail.auto_release" value="1">checked='checked'</eq>/>
                        <label>自动发布</label>
                    </div>
                    <div class="help-block">开启后，在线同步后会自动发布</div>
                </div>
                <div class="field">
                    <div class="ui toggle checkbox" data-selector="download">
                        <input type="checkbox"  />
                        <label>开启下载</label>
                    </div>
                    <div class="help-block">开启下载后，读者可以下载离线阅读（支持PDF/EPUB/MOBI）</div>
                </div>
                <div class="field">
                    <div class="ui toggle checkbox" data-selector="kindle">
                        <input type="checkbox" checked='checked'/>
                        <label>推送到kindle</label>
                    </div>
                    <div class="help-block">开启后，读者可以推送到kindle设备阅读</div>
                </div>
                <div class="field">
                    <div class="ui toggle checkbox" data-selector="reward">
                        <input type="checkbox"  />
                        <label>接受打赏</label>
                    </div>
                    <div class="help-block">接受打赏后，用户可以对文档进行打赏（打赏金额每次不超过200）</div>
                </div>
            </div>
        </div>
    </div>
    <div class="ui segments">
        <div class="ui segment">
            <h4>版本库地址</h4>
        </div>
        <div class="ui segment">
            <div class="ui labeled action input fluid small">
                <div class="ui dropdown label" data-selector="git">
                    <div class="text">HTTPS</div>
                    <i class="dropdown icon"></i>
                    <div class="menu">
                        <div class="item active" data-value="https://github.com/{:C('GIT_OWNER')}/{$Detail.repos_name}.git">HTTPS</div>
                        <div class="item" data-value="git@github.com:{:C('GIT_OWNER')}/{$Detail.repos_name}.git">SSH</div>
                    </div>
                </div>
                <input type="text" value="https://github.com/{:C('GIT_OWNER')}/{$Detail.repos_name}.git" readonly="readonly"/>
                <button data-selector="copy" class="ui teal right labeled small icon button">
                    <i class="copy icon"></i>
                    复制
                </button>
            </div>
        </div>
    </div>
                            <div class="ui segments">
                <div class="ui segment">
                    <h4>文档可见性</h4>
                </div>
                <div class="ui segment">
                    <form class="ui form" method="post" data-action="save book visibility"
                          data-namespace="pdosgk" data-name="{$Detail.name}">
                        <div class="ui error message"></div>
                        <div class="field">
                            <div class="ui radio checkbox">
                                <input type="radio" name="visibility_level"
                                       value="20" checked='' />
                                <label>
                                    公开
                                    <span class="help-block">任何人都可以阅读该文档</span>
                                </label>
                            </div>
                        </div>
                                                <div class="field">
                            <div class="ui radio checkbox">
                                <input type="radio" name="visibility_level"
                                       value="0" />
                                <label>
                                    私有
                                    <span class="help-block">非文档成员无法访问私有文档的任何信息</span>
                                </label>
                            </div>
                        </div>
                        <div class="field">
                            <button type="submit" class="ui button primary ">保存</button>
                        </div>
                    </form>
                </div>
            </div>

                <div class="ui segments">
            <div class="ui red inverted segment">
                <h4>谨慎操作</h4>
            </div>
            <div class="ui segment">
                <div class="ui middle aligned very relaxed divided list">

                    <div class="item">
                        <div class="right floated content">
                            <div data-selector="transfer" class="ui button red small">转让文档</div>
                        </div>
                        <div class="content">
                            <div class="header">转让文档给其他人</div>
                            可以转让给其他人或者团队
                        </div>
                    </div>
                    <div class="item">
                        <div class="right floated content">
                            <div data-selector="delete" class="ui button red small">删除文档</div>
                        </div>
                        <div class="content">
                            <div class="header">删除这个文档</div>
                            此操作不可撤销，谨慎操作
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="ui small modal" data-selector="transfer modal">
            <i class="close icon"></i>
            <div class="header">
                转让文档
            </div>
            <div class="content">
                <div class="ui message error">
                    <i class="icon warning sign"></i>该操作 <strong>不可撤销</strong> ，会将该文档
                    <strong>{$Detail.name}</strong> 的所有权完全转让给你所选择的对象，且所有暂存区尚未提交到版本库的内容均会丢失，请谨慎操作！
                </div>
                <form data-action="transfer book" class="ui form">
                    <div class="ui error message"></div>
                    <div class="field">
                        <label>请输入文档标识以确认</label>
                        <input type="text" name="name" placeholder="{$Detail.name}"/>
                    </div>
                    <div class="field">
                        <label>请输入要转让的用户名或者团队名</label>
                        <div data-selector="search namespace" class="ui fluid selection search dropdown">
                            <input type="hidden" name="new_namespace">
                            <i class="dropdown icon"></i>
                            <div class="default text">输入用户名或者团队名</div>
                            <div class="menu"></div>
                        </div>
                    </div>
                </form>
            </div>
            <div class="actions">
                <div class="ui deny button">
                    取消
                </div>
                <div class="ui ok red button disabled">
                    转让文档
                </div>
            </div>
        </div>
        <div class="ui small modal" data-selector="delete modal">
            <i class="close icon"></i>
            <div class="header">
                删除文档
            </div>
            <div class="content">
                <div class="ui message error">
                    <i class="icon warning sign"></i>该操作 <strong>不可撤销</strong> ，将会删除文档
                    <strong>{$Detail.name}</strong> 的所有信息，请谨慎操作！
                </div>
                <form data-action="delete book" class="ui form">
                    <div class="field">
                        <label>请输入文档标识以确认</label>
                        <input type="text" name="name" placeholder="{$Detail.name}"/>
                    </div>
                </form>
            </div>
            <div class="actions">
                <div class="ui deny button">
                    取消
                </div>
                <div class="ui ok red button disabled">
                    删除文档
                </div>
            </div>
        </div>
        </div>
            </div>

                            <div class="page-foot">
    <div class="ui container">
        <div class="w-copyright">
            <div class="left">
                <p>© 2015-2019 上海顶想信息科技有限公司  </p>
                <div class="ui list horizontal">
                    <a class="item" href="/about">关于我们</a>
                    <a class="item" href="/feedback">反馈建议</a>
                    <a class="item" href="/partner">合作伙伴</a>
                    <a class="item" href="/price">产品价格</a>
                    <a class="item" href="/blog">官方博客</a>
                    <a class="item" href="http://www.beian.miit.gov.cn" target="_blank">沪ICP备12007941号-4</a>
                </div>
            </div>
            <div class="right">
                <a class="logo" href="/"></a>
            </div>
        </div>
    </div>
</div>
                    </div>

    </div>

    <script src="/Public/book/js/jquery.min.js"></script>
    <script src="/Public/book/js/semantic.min.js"></script>
    <script type="text/javascript" src="/Public/book/js/app.js"></script>
<script type="text/javascript">
        kancloud.use('book/setting','pdosgk','{$Detail.name}');
</script>
</body>
</html>
